package com.googlecode.gwtbb.client.shared.remote.forum;

import com.googlecode.gwtbb.client.shared.entity.forum.Forum;
import com.googlecode.gwtbb.client.shared.entity.forum.Post;

import java.io.Serializable;

/**
 * Used to bundle a single post and single forum together.
 *
 * @author Abraham Grief
 * @version $Id$
 * @since Jul 16, 2008
 */
public class ForumPost implements Serializable {
	private Forum forum;
	private Post post;

	public ForumPost() {
	}

	public ForumPost(Forum forum, Post post) {
		this.forum = forum;
		this.post = post;
	}

	public Forum getForum() {
		return forum;
	}

	public void setForum(Forum forum) {
		this.forum = forum;
	}

	public Post getPost() {
		return post;
	}

	public void setPost(Post post) {
		this.post = post;
	}
}